@extends('layouts.app')

@section('content')
    <div class="content">
        <div class="header">
            <ul class="breadcrumb">
                <li><i class="fa fa-fw fa-cog"></i>内保管理</li>
                <li>查看工作人员</li>
            </ul>
        </div>
        <div class="main-content main-content2">
            <h2 class="text-center content_tt">单位要害部位工作人员登记表</h2>
                <input type="hidden" name="_token" value="{{ csrf_token() }}">
                <div class="row">
                    <br>
                    <div class="col-md-5 ">
                        <div class="form-horizontal">
                            <div class="form-group">
                                <label for="inputEmail3" class="col-sm-2 control-label">姓名</label>
                                <div class="col-sm-10">
                                    <input type="text" class="form-control" value="{{$re->name}}" name="name">
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-5 ">
                        <div class="form-horizontal">
                            <div class="form-group">
                                <label for="inputEmail3" class="col-sm-2 control-label">类别</label>
                                <div class="col-sm-10">
                                    <select class="form-control">
                                        <option @if($re->type == 1) selected @endif>少数民族</option>
                                        <option @if($re->type == 2) selected @endif>犯罪前科</option>
                                    </select>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-5">
                        <div class="form-horizontal">
                            <div class="form-group">
                                <label for="inputEmail3" class="col-sm-2 control-label">性别</label>
                                <div class="col-sm-10">
                                    <input type="text" class="form-control" value="{{$re->sex}}" name="sex">
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-5 ">
                        <div class="form-horizontal">
                            <div class="form-group">
                                <label for="inputEmail3" class="col-sm-2 control-label">出生年月</label>
                                <div class="col-sm-10">
                                    <input type="text" class="form-control" value="{{$re->birthday}}" name="birthday">
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-5">
                        <div class="form-horizontal">
                            <div class="form-group">
                                <label for="inputEmail3" class="col-sm-2 control-label">民族</label>
                                <div class="col-sm-10">
                                    <input type="text" class="form-control" value="{{$re->nation}}" name="nation">
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-5">
                        <div class="form-horizontal">
                            <div class="form-group">
                                <label for="inputEmail3" class="col-sm-2 control-label">籍贯</label>
                                <div class="col-sm-10">
                                    <input type="text" class="form-control" value="{{$re->native_place}}" name="native_place">
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-5">
                        <div class="form-horizontal">
                            <div class="form-group">
                                <label for="inputEmail3" class="col-sm-2 control-label">文化程度</label>
                                <div class="col-sm-10">
                                    <input type="text" class="form-control" value="{{$re->education}}" name="education">
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-5">
                        <div class="form-horizontal">
                            <div class="form-group">
                                <label for="inputEmail3" class="col-sm-2 control-label">政治面貌</label>
                                <div class="col-sm-10">
                                    <input type="text" class="form-control" value="{{$re->political_status}}" name="political_status">
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-5">
                        <div class="form-horizontal">
                            <div class="form-group">
                                <label for="inputEmail3" class="col-sm-2 control-label">身份证号</label>
                                <div class="col-sm-10">
                                    <input type="text" class="form-control" value="{{$re->id_number}}" name="id_number">
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-5">
                        <div class="form-horizontal">
                            <div class="form-group">
                                <label for="inputEmail3" class="col-sm-2 control-label">工作部门及职务</label>
                                <div class="col-sm-10">
                                    <input type="text" class="form-control" value="{{$re->position}}" name="position">
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-5">
                        <div class="form-horizontal">
                            <div class="form-group">
                                <label for="inputEmail3" class="col-sm-2 control-label">联系电话</label>
                                <div class="col-sm-10">
                                    <input type="text" class="form-control" value="{{$re->phone}}" name="phone">
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-5">
                        <div class="form-horizontal">
                            <div class="form-group">
                                <label for="inputEmail3" class="col-sm-2 control-label">备注</label>
                                <div class="col-sm-10">
                                    <textarea class="form-control">{{$re->remark}}</textarea>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>

                <div class="btn-toolbar list-toolbar list-toolbar2  ">
                    <a href="javascript:history.back(-1);" class="btn btn-back">返回</a>
                </div>
        </div>
    </div>
@stop